<template>
  <div id="nav">
    <n-space>
      <router-link to="/"><n-button>Home</n-button></router-link>
      <router-link to="/news"><n-button>News</n-button></router-link>
      <router-link to="/about"><n-button>DMUGit</n-button></router-link>
      <router-link to="/about"><n-button>About</n-button></router-link>
    </n-space>
  </div>
  <router-view />
</template>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
  display: flex;
  justify-content: center;
  a {
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;

    &.router-link-exact-active {
      color: #42b983;
      text-decoration: none;
    }
  }
}
</style>
